package com.zrrd.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zrrd.model.common.dtos.ResponseResult;
import com.zrrd.model.wemedia.dtos.WmChannelDto;
import com.zrrd.model.wemedia.dtos.WmChannelPageReqDto;
import com.zrrd.model.wemedia.pojos.WmChannel;

/**
 * @author WanJl
 * @version 1.0
 * @title WmChannelService
 * @description
 * @create 2023/9/21 14:35
 */
public interface WmChannelService extends IService<WmChannel> {
    /**
     * 查询所有频道
     * @return
     */
    ResponseResult findAll();

    /**
     * 分页查询频道
     * @param dto
     * @return
     */
    ResponseResult findAll(WmChannelPageReqDto dto);

    /**
     * 保存频道
     * @param dto
     * @return
     */
    ResponseResult save(WmChannelDto dto);

    /**
     * 修改频道
     * @param dto
     * @return
     */
    ResponseResult update(WmChannelDto dto);
}
